home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 September / PCWorld_2002-09_cd.bin / Akce / Quartet / Main / HELP.SWF / scripts / DefineButton2_7 / BUTTONCONDACTION on(release).as
Text File  |  2002-07-11  |  146b  |  8 lines

  1. on(release){
  2.    pos_y_obj = -182;
  3.    with(_parent)
  4.    {
  5.       pos_atual = (_ymouse - pos_y_obj) / carro._height * deslocamento_max;
  6.    }
  7. }
  8.